package android_design_mode.chapter21_decorator;

import android_design_mode.chapter21_decorator.cloth.*;

public class TestDecorator {


    public static void main(String[] args) {

        Person person = new Boy();

        PersonCloth cheapCloth = new CheapCloth(person);
        cheapCloth.dressed();

        PersonCloth expensiveCloth = new ExpensiveCloth(person);
        expensiveCloth.dressed();

    }
}
